package d0304d0305;

public class MeehodOverload {
    int square(int x) {
        return x * x;
    }
    double square(double x){
        return x*x;
    }

    public static void main(String[] args) {
        MeehodOverload meehodOverload=new MeehodOverload();
        System.out.println(meehodOverload.square(3));
        System.out.println(meehodOverload.square(4.5));
    }
}
